#ifndef RANK_H
#define RANK_H

#include <QWidget>
#include <QSqlQueryModel>
#include <QSqlTableModel>
#include <QSqlRelationalTableModel>
#include <QTableView>
#include "common/statusvalue.h"

namespace Ui {
class Rank;
}

class Rank : public QWidget
{
    Q_OBJECT

public:
    explicit Rank(QWidget *parent = 0);
    ~Rank();

signals:
    void enterBegin();
    void enterPause();

public slots:
    void rankShow();

private slots:

    void on_comboBox_currentIndexChanged(int index);

    void on_pushButton_clicked();

private:
    Ui::Rank *ui;
    QSqlQueryModel *model;
};

#endif // RANK_H
